Before editing or creating a contact, you search for the contact to see if it exists in the database.
More:
Finding records in Contacts
Configuring contact creation and search options